package com.gbk.clickhouseservicestruct.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.myweb.ck.mapping.ChTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;

/**
 * @Project: nats3.0_eva
 * @Package: com.les.its.ds.model
 * @Author： mujian
 * @Create： 2024/10/10 16:57
 * @Description： TODO
 * @History: modify
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ChTable(name = "tig.T_STO_TRAVELTIME")
public class STO_TRAVELTIME {

    @Temporal(TemporalType.TIMESTAMP)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date calTime;

    private Integer logicalAreaNo;
    private Integer juncPairNo;
    private Integer upFzh1;
    private Integer upFzh1TravelTime;
    private Integer upFzh1VehNum;
    private Integer upFzh2;
    private Integer upFzh2TravelTime;
    private Integer upFzh2VehNum;
    private Integer upFzh3;
    private Integer upFzh3TravelTime;
    private Integer upFzh3VehNum;
    private Integer upFzh1StopTimes;
    private Integer upFzh2StopTimes;
    private Integer upFzh3StopTimes;
    private Integer downVehNum;
    private Integer downPassStageTime;
}
